//按需引入vant组件
import Vue from 'vue';
import {
    Toast ,
    Lazyload,
    Overlay,
    Image as VanImage,
    SwipeCell,
    Checkbox,
    Icon,
    Stepper,
    Button,
    Loading ,
    Swipe, SwipeItem,
    Popup ,
    Rate ,
    CellGroup ,
    Field ,
    Picker ,
    DatetimePicker,
    Switch ,
    ActionSheet,
    Tab, Tabs,
    Dialog ,
    Uploader ,
    Popover ,
    GoodsAction, GoodsActionIcon, GoodsActionButton ,  
    Cell,
    Pagination ,
    Collapse, CollapseItem ,
    IndexBar, IndexAnchor,
    ImagePreview,
    DropdownMenu, DropdownItem
  } from 'vant';
  Vue.use(DropdownMenu);
  Vue.use(DropdownItem);
  Vue.use(Toast);
  Vue.use(ImagePreview);
  Vue.use(GoodsActionButton);
  Vue.use(GoodsActionIcon);
  Vue.use(GoodsAction);
  Vue.use(Popover);
  Vue.use(Uploader);
  Vue.use(Dialog);
  Vue.use(Tabs);
  Vue.use(Tab);
  Vue.use(Switch);
  Vue.use(Lazyload);
  Vue.use(Overlay);
  Vue.use(VanImage);
  Vue.use(SwipeCell);
  Vue.use(Checkbox);
  Vue.use(Icon);
  Vue.use(Stepper);
  Vue.use(Button);
  Vue.use(Loading);
  Vue.use(Swipe);
  Vue.use(SwipeItem);
  Vue.use(Popup);
  Vue.use(Rate);
  Vue.use(CellGroup);
  Vue.use(Field);
  Vue.use(Picker);
  Vue.use(DatetimePicker);
  Vue.use(ActionSheet),  
  Vue.use(Cell);
  Vue.use(Pagination);
  Vue.use(Collapse);
  Vue.use(CollapseItem);
  Vue.use(IndexBar);
  Vue.use(IndexAnchor);